import requests
from config import RunConfig

def 查询报告单(para):
    response = requests.get(
        url=RunConfig.url + "product/report/info?explorationUnitId=&projectExtId=&stageId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 下载报告单(para):
    response = requests.get(
        url=RunConfig.url + "product/report/down?id=&templateCode=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 送审报告单(para):
    response = requests.post(
        url=RunConfig.url + "/product/report/save",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 总工程师评价(para):
    response = requests.post(
        url=RunConfig.url + "/product/report/chief",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response
